<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>手机版全城热恋</title>

</head>
<body>


<div id="header">
    <div class="header">
        <div class="logo">
            <img src="__STATIC__/images/logo.jpg" alt="">
        </div>
        <div class="opt">
            {if condition="!session('index_id')"}
            <div class="no_logged">
                <a href="/index/login/login">登陆</a>
                <a href="/index/regist/regist">注册</a>
            </div>
            {else /}
            <div class="mdui-list-item-avatar">
                <a href="/index/user/user/id/{$Think.session.index_id}">
                    {if condition = "$Think.session.index_user.header_url neq ''"}<img src="{$Think.session.index_user.header_url}" alt="">{else /}<img src="__STATIC__/doclist/images/88888.png" alt="">{/if}
                </a>
            </div>
            <div class="pull_down">
                <i class="after"></i>
                <div class="name">
                    <b>{$Think.session.index_name} </b>{eq name="$Think.session.index_user.open_vip" value="1"}<span class="tag">VIP</span>{/eq}
                    <a href="/index/login/logout">退出</a>
                </div>
            {/if}

        </div>
    </div>

</div>
{block name="body"}{/block}
</body>
</html>